package models

import (
	"github.com/astaxie/beego/orm"
)

var (
	Regions []ClusterRegion
	Types   []ClusterTypes
)

type ClusterRegion struct {
	Id         int
	RegionCode string
	RegionDesc string
}

type ClusterTypes struct {
	Id          int
	Name        string
	Description string
}

func init() {
	// 需要在init中注册定义的model
	orm.RegisterModel(new(ClusterRegion), new(ClusterTypes))
}
